package lab02.test03;

/**
 * Created by 阿阿阿阿豪丶 on 2017/10/15.
 */
public class Test03 {
    public static void main(String[] args) {
        Student sctuStudent = new Student();
        sctuStudent.Math = (99);
        sctuStudent.English = (120);
        sctuStudent.Computer = (99);
        System.out.println("数学：" + sctuStudent.Math + " 英语：" + sctuStudent.English + " 计算机：" + sctuStudent.English);
        System.out.println("总分: " + sctuStudent.Sum(sctuStudent.Math, sctuStudent.English, sctuStudent.Computer));
        System.out.println("平均分：" + sctuStudent.Average(sctuStudent.Math, sctuStudent.English, sctuStudent.Computer));
        System.out.println("最高分：" + sctuStudent.Max(sctuStudent.Math, sctuStudent.English, sctuStudent.Computer));
        System.out.println("最低分：" + sctuStudent.Min(sctuStudent.Math, sctuStudent.English, sctuStudent.Computer));
    }
}
